//
//  NSArray+Extention.m
//  Perking
//
//  Created by longmin on 16/10/25.
//  Copyright © 2016年 tim. All rights reserved.
//

#import "NSArray+Extention.h"

@implementation NSArray (Extention)

-(NSInteger)lm_containsClass:(Class)objClass {
    
    NSInteger i = 0;
    NSInteger flag = 0;
    for (id obj in self) {
        if ([obj class] == objClass) {
            
            flag = i;
        }
        i++;
    }
    
    return flag;
}

@end
